<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>后代选择器</title>
    <style type="text/css">
        p span{
            color:red;
            }
        span{
            color:blue;
           }

    </style>
</head>
<body>
   <p>嵌套使<span>用CSS（红色)</span>标记的方法</p>嵌套之外的<span>标记（蓝色)</span>不生效

</body>
</html>